package com.g.code.ebookssync.action;

import java.net.URLEncoder;

import net.sf.json.JSONObject;

import com.kuaipan.client.model.AccessToken;
import com.kuaipan.client.model.TokenPair;

public class Test {
    public static void main(String[] args) {
        
        System.out.println(URLEncoder.encode(":/.?id=1"));
        
        TokenPair token = new AccessToken("test1", "test2");
        JSONObject jsonObject = JSONObject.fromObject(token);
        System.out.println(jsonObject.toString());
    }
}
